package org.linlinjava.litemall.wx.vo.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;


@Data
@Accessors(chain = true)
@ApiModel(value="订单商品原料")
public class OrderGoodsFormulaMaterialRespVO {
    @ApiModelProperty(value = "原料id")
    private Integer materialId;
    @ApiModelProperty(value = "配方id")
    private Integer formulaId;
    @ApiModelProperty(value = "制作单位")
    private String makeUnit;
    @ApiModelProperty(value = "原料")
    private String materialName;
    @ApiModelProperty(value = "类型 (主料｜辅料)")
    private Integer materialType;
    @ApiModelProperty(value = "数量")
    private BigDecimal quantity;
    @ApiModelProperty(value = "价格")
    private BigDecimal price;
    @ApiModelProperty(value = "单位")
    private String unit;

}
